<script setup lang="ts">
import PcSearch from "~/Components/pc/main/pc-search.vue";
import PcMainMenu from "~/Components/pc/main/pc-main-menu.vue";
import {useIndexStore} from "~/store";
import PcMainSearch from "~/Components/pc/main/pc-main-search.vue";

const indexStore = useIndexStore()
</script>

<template>
  <div class="h-svh">
    <div class="h-[10%] p-5 flex">
      <pc-search/>
    </div>
    <div class="h-[90%] overflow-auto">
      <pc-main-search v-if="indexStore.search_page"/>
      <pc-main-menu v-else/>
    </div>
  </div>
</template>

<style scoped>

</style>